package com.suyang.syt.model.dto;

import com.suyang.syt.model.Pic;

@SuppressWarnings("serial")
public class PicDTO extends Pic {
	
	
	public PicDTO(){
		
	}
	public PicDTO(Pic pic){
		this.setId(pic.getId());
		this.setBid(pic.getBid());
		this.setCreateName(pic.getCreateName());
		this.setCreateTime(pic.getCreateTime());
		this.setModifyName(pic.getModifyName());
		this.setModifyTime(pic.getModifyTime());
		this.setOrderIndex(pic.getOrderIndex());
		this.setStatus(pic.getStatus());
		this.setName(pic.getName());
		this.setPath(pic.getPath());
		this.setUrl(pic.getUrl());
		this.setWidth(pic.getWidth());
		this.setHeight(pic.getHeight());
		this.setType(pic.getType());
		this.setPicLikeNums(pic.getPicLikeNums());
	}
	
	
}
